package com.ubaer.zsycz.inject.components;

import android.app.Activity;
import android.content.Context;


import com.ubaer.zsycz.inject.modules.FragmentModule;
import com.ubaer.zsycz.inject.scope.PerActivity;
import com.ubaer.zsycz.inject.scope.PerFragment;
import com.ubaer.zsycz.ui.fragment.AlreadyProcessedFragment;
import com.ubaer.zsycz.ui.fragment.RechargeFailureFragment;
import com.ubaer.zsycz.ui.fragment.UntreatedFragment;

import dagger.Component;

/**
 * author：lsw
 */
@PerActivity
@PerFragment
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    Context getContext();

    void inject(AlreadyProcessedFragment alreadyProcessedFragment);

    void inject(UntreatedFragment untreatedFragment);

    void inject(RechargeFailureFragment rechargeFailureFragment);

}
